#include <QObject>
#include "grammar/python3/PythonGrammar30.h"
#include "grammar/python3/PythonGrammar30TokenManager.h"

class TestParser: public QObject
{
    Q_OBJECT
private:
    ModulePtr parse(const QString& str);
    QString restoreCode(const ModulePtr& root);
private slots:
    void parseError(const QString& , int, int);
    void testDel();
    void testBinOp();
    void testForElse();
};
